<?php
/*
	首页
*/

defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
	$return['list']=array();
	$setting['nokefu']=plugin('jy_weishop')->plugin_setting('setting')['nokefu'];
	$setting = $this->plugin_setting('basic');
	$return['setting']=$setting;
	$sharelink='jy_shop1miao/rank//fromuser='.$_SESSION['uid'];
	$return['sharedata']=array(
			'title'=>$setting['share_title']?$setting['share_title']:'热租榜',
			'desc'=>$setting['share_desc']?$setting['share_desc']:'热租榜，一个属于自己的个人商城！',
			'link'=>custom_url($sharelink,true),
			'imgUrl'=>tomedia($setting['share_image'])
	);
	exi($return);
}
	
?>